package com.zxl.designpattern.structure.decorator;

/**
 * 具体装饰器-高级音响
 *
 * @author zxl
 */
public class PremiumSoundSystem extends CarDecorator {
    public PremiumSoundSystem(Car car) {
        super(car);
    }

    @Override
    public String getDescription() {
        return super.getDescription() + " + 高级音响";
    }

    @Override
    public double getCost() {
        return super.getCost() + 5000.0;
    }
}